package Model;

public class Message 
{	
	private String m_Data;
	private int m_Index;
	
	public Message(String data)
	{
		m_Data = data;
	}

	public Message(String data, int index) 
	{
		m_Data = data;
		m_Index = index;
	}

	public String getMessage() 
	{
		return m_Data;
	}

	public void setIndex(int index) 
	{
		m_Index = index;
	}

	public int getIndex() 
	{
		return m_Index;
	}
}
